package cn.cnic.user.component.system.mapper;

import cn.cnic.user.component.system.model.Degree;
import cn.cnic.user.component.system.model.DegreeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DegreeMapper {
    int countByExample(DegreeExample example);

    int deleteByExample(DegreeExample example);

    int deleteByPrimaryKey(String id);

    int insert(Degree record);

    int insertSelective(Degree record);

    List<Degree> selectByExample(DegreeExample example);

    Degree selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Degree record, @Param("example") DegreeExample example);

    int updateByExample(@Param("record") Degree record, @Param("example") DegreeExample example);

    int updateByPrimaryKeySelective(Degree record);

    int updateByPrimaryKey(Degree record);

    int insertList(List<Degree> list);
}